package com.guanjia.service;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.guanjia.entity.Bussiness;
import com.guanjia.entity.EnterpriseInformation;
import com.guanjia.entity.User;
import com.guanjia.entity.UserInformation;
import com.guanjia.entity.vo.BussinessVo;

import java.util.List;

public interface UserService {
    /**
     * 注册用户 返回字符串
     * @return
     */


    public String regUser(User user);

    public String isnull(User user);

    void updataPwd(User user);
    void updataTell(User user);
    void updatamoney(User user);

    void updateenterInfo(EnterpriseInformation enterpriseInformation);

    List<Bussiness> findUsertransactionByUserId(Integer id);

    List<Bussiness> findUsertransactionInfoByUserId(BussinessVo bussinessVo);

    IPage<Bussiness> findPageList(Integer page, Integer size,String group,String start,String end,Integer userId);

    UserInformation findUserNameById(Integer id);
}
